package com.achievement.service.author;

import com.achievement.domain.dto.author.BreedAuthorDTO;
import com.achievement.domain.entity.author.BreedAuthorEntity;
import com.achievement.domain.vo.author.BreedAuthorVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface IBreedAuthorService extends IService<BreedAuthorEntity>
{
    List<BreedAuthorEntity> getListByConditions(BreedAuthorDTO dto);
    BreedAuthorVO getInfoById(String id);

    boolean addOrUpdate(List<BreedAuthorDTO> list,String breedId);

    boolean add(BreedAuthorDTO dto);
    boolean addBatch(List<BreedAuthorDTO> list,String breedId);

    boolean update(BreedAuthorDTO dto);

    boolean batchRemove(List<String> ids);

    List<BreedAuthorVO> getListByBreedId(String breedId);

    boolean batchRemoveByBreedIds(List<String> breedIds);

}
